package view;

import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;

import java.io.IOException;
/**
 * @author
 */

public class Login extends AbstractWindow {
    /**
     *
     * @throws IOException
     */
    public Login() throws IOException {
        setIcon();
        this.startWindow();
    }
    @Override
    public void startWindow() throws IOException {
        root = FXMLLoader.load(getClass().getResource("fxml/LoginView.fxml"));
        setTitle("AChat");
        setScene(new Scene(root));
        //move();
        show();
    }
}
